package com.hisense.hisensedatacheck.dao;

import com.hisense.hisensedatacheck.entity.FrXzcfxx;
import com.hisense.hisensedatacheck.entity.ZrrXzxkxx;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ZrrXzxkxxMapper {
    //    查询所有数据
    List<ZrrXzxkxx> selectAll();

    //修改所有数据
    Integer updateErrorByIds(@Param("zrrXzxkxx") List<ZrrXzxkxx> zrrXzxkxx);

    //    状态修改
    @Update("UPDATE zrr_xzxkxx_jm_error SET cd_operation = 'U'  WHERE cd_operation NOT IN ('I','U','D')")
    Integer updateOperation();

}